<template>
  <div class="red">
    <button @click="handleClick"></button>
  </div>
</template>

<script>
// 放置我们 js 的逻辑
export default {
  methods: {
    handleClick() {
      console.log("click");
    },
  },
};
</script>

<style>
.red {
  color: "red";
}
</style>
